import 'package:flutter/material.dart';

class ProfileActionsWidget extends StatelessWidget {
  const ProfileActionsWidget({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      padding: const EdgeInsets.all(16.0),
      child: Column(
        children: [
          _buildActionButton(
            context,
            Icons.edit,
            'ئۇچۇرنى تەھرىرلەش',
            () {
              // TODO: تەھرىرلەش بېتىگە يۆتكەش
            },
          ),
          const SizedBox(height: 16),
          _buildActionButton(
            context,
            Icons.security,
            'بىخەتەرلىك تەڭشەكلىرى',
            () {
              // TODO: بىخەتەرلىك تەڭشەكلىرى بېتىگە يۆتكەش
            },
          ),
          const SizedBox(height: 16),
          _buildActionButton(
            context,
            Icons.notifications,
            'ئۇقتۇرۇش تەڭشەكلىرى',
            () {
              // TODO: ئۇقتۇرۇش تەڭشەكلىرى بېتىگە يۆتكەش
            },
          ),
        ],
      ),
    );
  }

  Widget _buildActionButton(
    BuildContext context,
    IconData icon,
    String label,
    VoidCallback onPressed,
  ) {
    return SizedBox(
      width: double.infinity,
      child: ElevatedButton.icon(
        onPressed: onPressed,
        icon: Icon(icon),
        label: Text(label),
        style: ElevatedButton.styleFrom(
          padding: const EdgeInsets.symmetric(vertical: 16.0),
          textStyle: const TextStyle(fontSize: 16),
        ),
      ),
    );
  }
} 